package structuralPattern.adapter.example01;

public class Test01 {
    public static void main(String[] args) {
        Computer computer = new Computer();

        SDCard sdCard = new SDCardImpl();
        System.out.println(computer.read(sdCard));
        computer.write(sdCard,"lalala");

        System.out.println("=====================================");

        SDCard adapter = new SDAdapterTF();
        System.out.println(computer.read(adapter));
        computer.write(adapter,"hahaha");
    }
}
